package com.travel.convert;

import com.travel.pojo.CarPackage;
import com.travel.pojo.CarRentalCompany;
import com.travel.pojo.Cars;
import com.travel.vo.LookForCarVo;
import com.travel.vo.RentalDetailsVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface CarConvert {
    CarConvert INSTANCE = Mappers.getMapper(CarConvert.class);
    RentalDetailsVo carsDetailsVo(Cars cars);
    RentalDetailsVo CarRentalDetailsVo(CarRentalCompany carRentalCompany,Cars cars);

    LookForCarVo LOOK (CarPackage carPackage);
    LookForCarVo LOOKcars (Cars cars);
}
